anti-analysis/anti-debugging/debugger-detection

check for OutputDebugString error

rule:
  meta:
    name: check for OutputDebugString error
    namespace: anti-analysis/anti-debugging/debugger-detection
    authors:
      - michael.hunhoff@mandiant.com
    scopes:
      static: basic block
      dynamic: thread
    mbc:
      - Anti-Behavioral Analysis::Debugger Detection::OutputDebugString [B0001.016]
    examples:
      - Practical Malware Analysis Lab 16-02.exe_:0x401020
  features:
    - and:
      - api: kernel32.SetLastError
      - api: kernel32.GetLastError
      - api: kernel32.OutputDebugString

last edited: 2023-11-24 10:35:00